Be more conservative about which files are linked to the output dir.
authorEric Huss <eric@huss.org>
Wed, 2 May 2018 18:18:37 +0000 (11:18 -0700)
committerEric Huss <eric@huss.org>
Thu, 10 May 2018 15:46:02 +0000 (08:46 -0700)
commit27edc433c95d23017a9e72e48752f1f33dc59f23
tree72193a3f8aefadceadb4a3d1668346dcdf995975
parent7067bc857dfb42dd1a38757d25a608cb11c43eae
Be more conservative about which files are linked to the output dir.

This changes it so that only top-level targets requested on the command-line will be included in the output directory.  Dependencies are no longer included.

Fixes #5444.
src/cargo/core/compiler/context/compilation_files.rs
tests/testsuite/check.rs
tests/testsuite/path.rs